<template>
	<div class="homeA">
		<div class="bot_top">
			<div class="top_title">
				<div></div>
				<div>项目名称:</div>
			</div>
			<el-select v-model="name" class="select" placeholder="项目名称">
				<el-option label="区域一" value="shanghai"></el-option>
				<el-option label="区域二" value="beijing"></el-option>
			</el-select>
		</div>
		<div class="top_title">
			<div></div>
			<div>项目进度</div>
		</div>
		<div class="progress">
			<div class="progressone">
				<el-progress type="circle" :width="126" :stroke-width="15" stroke-linecap="butt" :percentage="50"></el-progress>
				<div class="text">
					<span>项目整体进度</span>
					<i class="el-icon-question"></i>
				</div>
			</div>
			<div class="progresstwo">
				<el-progress type="circle" :width="126" :stroke-width="15" color="#0077FF" stroke-linecap="butt" :percentage="33"></el-progress>
				<div class="text">
					<span>当日计划进度</span>
					<i class="el-icon-question"></i>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
// import styles from '@/app.scss';
export default {
	data() {
		return {
			// bg_color: styles.bg_color,
			name: ''
		};
	},
	methods: {}
};
</script>
<style lang="scss">
.home_right {
  .select {
    padding-left: 10px;
    width: 300px;
  }
  .progressone {
    .el-progress__text {
      font-size: 32px !important;
      // color: $bg_color;
    }
  }
  .progresstwo {
    .el-progress__text {
      font-size: 32px !important;
      color: #0077ff;
    }
  }
}
</style>
<style lang="scss" scoped>
.homeA {
  height: 100%;
}
.bot_top {
  height: 56px;
  display: flex;
  align-items: center;
}

.top_title {
  height: 56px;
  display: flex;
  align-items: center;
  font-weight: bold;

  > div:first-child {
    width: 4px;
    height: 14px;
    border-radius: 2px;
    // background: $bg_color;
    margin-right: 5px;
  }
}
.progress {
  display: flex;
  justify-content: space-around;

  > div {
    .el-progress {
      margin: 0 9px;
    }

    .text {
      width: 144px;
      height: 32px;
      margin-top: 16px;
      opacity: 1;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;

      span {
        padding-right: 5px;
      }
    }
  }
}

.progressone {
  .text {
    // color: $bg_color;
    background: rgba(231, 247, 239, 1);
  }
}

.progresstwo {
  .text {
    color: #0077ff;
    background: #e3effe;
  }
}
</style>
